package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.CmUser;
import com.zshan.clinic.database.model.CmUserExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmUserMapper extends SuperMapper {
    long countByExample(CmUserExample example);

    int deleteByExample(CmUserExample example);

    int deleteByPrimaryKey(Long cmUserId);

    int insert(CmUser row);

    int insertSelective(CmUser row);

    List<CmUser> selectByExample(CmUserExample example);

    CmUser selectByPrimaryKey(Long cmUserId);

    int updateByExampleSelective(@Param("row") CmUser row, @Param("example") CmUserExample example);

    int updateByExample(@Param("row") CmUser row, @Param("example") CmUserExample example);

    int updateByPrimaryKeySelective(CmUser row);

    int updateByPrimaryKey(CmUser row);
}